package net.similarsu.device.sdk.dah.struct;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

@Structure.FieldOrder({
        "emType"
        , "dwOffSet"
        , "dwFileLenth"
        , "wWidth"
        , "wHeight"
        , "byReserved"
})
public class CITIZEN_PICTURE_COMPARE_IMAGE_INFO_EX extends Structure {
    public int emType;                    // 图片类型
    public int dwOffSet;               // 文件在二进制数据块中的偏移位置, 单位:字节
    public int dwFileLenth;            // 文件大小, 单位:字节
    public short wWidth;                 // 图片宽度, 单位:像素
    public short wHeight;                // 图片高度, 单位:像素
    public byte[] byReserved = new byte[64];        // 保留字节

    public CITIZEN_PICTURE_COMPARE_IMAGE_INFO_EX() {
        super();
    }

    public CITIZEN_PICTURE_COMPARE_IMAGE_INFO_EX(Pointer pointer) {
        super(pointer);
    }

    public static class ByReference extends CITIZEN_PICTURE_COMPARE_IMAGE_INFO_EX implements Structure.ByReference {
    }


    public static class ByValue extends CITIZEN_PICTURE_COMPARE_IMAGE_INFO_EX implements Structure.ByValue {
    }
}
